/*
 * Math.h
 *
 *  Created on: 14-Feb-2013
 *      Author: abhijeet
 */

#ifndef MATH_H_
#define MATH_H_
#include <cstring>
#include <cmath>
#include <iostream>
#include <cstdlib>

using namespace std;

//Function to convert binary string to integer
//taking into consider the binary could be 2's
//complement of the negative no
int BinaryToDecimal(const char *binary);

//Function to convert binary string to integer
//without converting the no to 2s complement
int BinaryToDecimalSimple(const char *binary);

//Left shift a binary no




#endif /* MATH_H_ */
